package com.mbmed.doctor.commons.utils;

import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class ZhongWenUtils {
	 private static Pattern p;
	 private static Matcher m;
	 public static List charLinked(String str){
		  List<String> list = new ArrayList<String>();
		  String temp=null;
		  String regEx = "[\\u4e00-\\u9fa5][\\u4e00-\\u9fa5]+";
		  p = Pattern.compile(regEx);
		  m = p.matcher(str);
		  while(m.find()){
		  temp=m.group();
		  list.add(temp);
		  }
		  return list;
		 }
}
